//
//  ExamCateListView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/1.
//

#import "JPCustomView.h"
#import "ExamPaperYearModel.h"
#import "ExamPaperYearListModel.h"


NS_ASSUME_NONNULL_BEGIN

@interface ExamCateListView : JPCustomView

-(instancetype)initWithFrame:(CGRect)frame andIndex:(NSInteger)index;

@property(nonatomic,strong)UITableView *tableView;
@property(nonatomic,copy)NSArray *dataArr;
@property(nonatomic,copy)NSString *grammar;//重点语法
@property(nonatomic,assign)NSInteger sel_index;
@property(nonatomic,copy)void(^topClickBlock)(void);
@property(nonatomic,copy)void(^listBlock)(ExamPaperYearListModel *model);
@property(nonatomic,assign)CGFloat currentAvailableWidth;

-(void)refresh;
-(void)refreshWidth;

@end

NS_ASSUME_NONNULL_END
